Skip to content

Conversation

remoove
Copy link

@remoove remoove commented Feb 18, 2021

Add select fields to each find query, this will be usefull if you set {select: false} in mongoose schema.
Add mongooseObj.toObject method call in stringifyId function for right Decimal128 displaing in admin-bro frontend.

now, if you set {select: false} option in mongoose schema, it would be displayed in the adminbro table
You should set 'get' option in mongoose schema: 
{get: (v)=>v ? Number(v) : v}
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add .idea to .gitignore

@@ -117,5 +117,4 @@ dist

.DS_store

# build files
/lib
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want to commit lib folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants